Skip to content

Do not render sidebar over menu dialog windows - #68

Open
tinix0 wants to merge 1 commit into
OpenTS-Developers:mainfrom
tinix0:fix/sidebar-menu-overlap
Open

Do not render sidebar over menu dialog windows#68
tinix0 wants to merge 1 commit into
OpenTS-Developers:mainfrom
tinix0:fix/sidebar-menu-overlap

Conversation

@tinix0

@tinix0 tinix0 commented Aug 28, 2026

Copy link
Copy Markdown

Summary

Flip rendering order of sidebar and dialog windows when handling WM_PAINT to not overdraw the dialog. The sidebar painting is needed in this place to prevent rendering artifacts when changing between different menu dialogs. While the game is running the rendering of sidebar is handled elsewhere.

Behavior and compatibility

Bug fix to restore original behaviour and remove graphical artifacts.

Validation

Manual testing in GDI1 and skirmish mode.

Documentation

N/A, small visual change to restore original behaviour.

Checklist

  • The change is focused; unrelated mechanical cleanup is separate
  • Compatibility effects and any migration are explicit
  • Validation distinguishes what passed, failed, and was not run
  • No prohibited assets, binaries, SDKs, credentials, or generated output are included

@github-actions

Copy link
Copy Markdown

Development builds of e5fea1c:

The links work without a GitHub account. Artifacts expire after 90 days, and this comment follows the latest successful build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant